package com.yiqi.liebang.feature.mine.view.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.suozhang.framework.framework.AM;
import com.yiqi.liebang.R;
import com.yiqi.liebang.common.util.DateTool;
import com.yiqi.liebang.entity.bo.ImgBean;
import com.yiqi.liebang.entity.bo.WorkBo;

import static com.yiqi.liebang.common.util.DateTool.DEFAULT_NYR;

public class WorkEditAdapter extends BaseQuickAdapter<ImgBean, BaseViewHolder> {
    public WorkEditAdapter() {
        super(R.layout.item_edit_work);
    }

    @Override
    protected void convert(BaseViewHolder helper,ImgBean item) {
        helper.addOnClickListener(R.id.iv_work_document);
        AM.image().bind(item.getImage(), helper.getView(R.id.iv_work_document));
    }
}
